package com.ccys.cms.service.discount;

import com.ccys.common.vo.ResponseResult;
import com.ccys.db.dto.discount.BinNumberDto;
import com.ccys.db.entity.TblBinNumber;
import com.ccys.db.rely.service.BaseService;
import com.ccys.db.vo.discount.BinNumberPageQueryVo;
import com.ccys.db.vo.discount.ServicesAndPackagesVo;
import com.github.pagehelper.PageInfo;

import java.text.ParseException;

/**
 * @program: WhiteCoat
 * @description: BIN编号接口
 * @author: ZhangJingCan
 * @create: 2023-12-15 09:49
 **/
public interface BinNumberService extends BaseService<TblBinNumber> {
    ResponseResult<ServicesAndPackagesVo, Object> findListServicesAndPackages(String groupId);

    ResponseResult saveBinNumber(BinNumberDto dto) throws ParseException;

    ResponseResult deleteBinNumber(BinNumberDto dto);

    ResponseResult updateBinNumberStatus(BinNumberDto dto);

    ResponseResult<PageInfo<BinNumberPageQueryVo>, Object> findPageBinNumber(BinNumberDto dto);

    ResponseResult<ServicesAndPackagesVo, Object> findServices(BinNumberDto dto);
}
